<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsps/include.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>显示题目</title>
<link href="<%=basePath%>css/ls1.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>images/skin.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>css/box.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<script type="text/javascript"  src="<%=basePath%>js/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	
});
</script>




</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0"  class="tab1">
  <tr>
    <td width="17" valign="top" background="<%=basePath%>images/mail_leftbg.gif"><img src="<%=basePath%>images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="<%=basePath%>images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">显示新题目</div></td>
      </tr>
    </table></td>
  </tr>
</table>
<input name="" type="button"  class="zjbtn2" value="添加题目" onclick="javascript:location.href='http://localhost:8080/totoro2013/process/addProject.html'"  style="margin-left:860px;width:70px;
	height:25px;
	background:#069;color:#FFF;"  src="http://localhost:8080/totoro2013/process/addProject.html" />
	<a href="../process/addProject.html">添加题目</a>
	
	
  <table>
  <tr>
  <td>题目<td>
  <td>类别</td>
  <td>审核状态</td>
  <td>操作</td>
  </tr>
<c:forEach items="${projectList}" var="project">
<tr>
<td>${project.title}</td>
<td>${project.projectType.description}</td>
<td>
<c:choose>
<c:when test="${project.auditByDirector.approved==null}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;未审核</c:when>
<c:when test="${project.auditByDirector.approved==true}">通过</c:when>
<c:when test="${project.auditByDirector.approved==false}">未通过</c:when>

</c:choose>

</td>

<td>
<c:url var="alter_url" value="../process/alterProject.html?project_id=${project.id}">
</c:url>
<a href="${alter_url }" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;修改</a>


<c:url var="delete_url" value="../process/deleteProject.html?project_id=${project.id}">
</c:url>
<a href="delete_url"> &nbsp;&nbsp;&nbsp;删除</a>


</td>


</tr>
</c:forEach>
</table>





</body>

</html>